# Created by: Savichev Alexandr <savicheval@gmail.com>
# $FreeBSD$

PORTNAME=       Search-Elasticsearch
PORTVERSION=    7.712
PORTREVISION=   1
CATEGORIES=     devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR=     CPAN:EZIMUEL
PKGNAMEPREFIX=  p5-

MAINTAINER=     enrico.zimuel@elastic.co
COMMENT=        Official client for Elasticsearch 7

RUN_DEPENDS=    p5-ExtUtils-MakeMaker>0:devel/p5-ExtUtils-MakeMaker \
                p5-IO-Socket-IP>0.37:net/p5-IO-Socket-IP \
                p5-URI-Escape-XS>0:www/p5-URI-Escape-XS \
                p5-Any-URI-Escape>0:www/p5-Any-URI-Escape \
                p5-Data-Dumper>0:devel/p5-Data-Dumper \
                p5-Devel-GlobalDestruction>0:devel/p5-Devel-GlobalDestruction \
                p5-Encode>0:converters/p5-Encode \
                p5-File-Temp>0:devel/p5-File-Temp \
                p5-HTTP-Tiny>0:www/p5-HTTP-Tiny \
                p5-IO-Compress>0:archivers/p5-IO-Compress \
                p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL \
                p5-JSON-MaybeXS>=1.002002:converters/p5-JSON-MaybeXS \
                p5-JSON-PP>0:converters/p5-JSON-PP \
                p5-Test-LWP-UserAgent>0:www/p5-Test-LWP-UserAgent \
                p5-Log-Any>0:devel/p5-Log-Any \
                p5-Log-Any-Adapter-Callback>=0.09:devel/p5-Log-Any-Adapter-Callback \
                p5-MIME-Base64>0:converters/p5-MIME-Base64 \
                p5-Moo>=2.001000:devel/p5-Moo \
                p5-Module-Runtime>0:devel/p5-Module-Runtime \
                p5-Net-IP>0:net-mgmt/p5-Net-IP \
                p5-Package-Stash>=0.34:devel/p5-Package-Stash \
                p5-Sub-Exporter>0:devel/p5-Sub-Exporter \
                p5-Time-HiRes>0:devel/p5-Time-HiRes \
                p5-Try-Tiny>0:lang/p5-Try-Tiny \
                p5-URI>0:net/p5-URI \
                p5-namespace-clean>0:devel/p5-namespace-clean

TEST_DEPENDS=   p5-JSON-XS>0:converters/p5-JSON-XS \
                p5-Cpanel-JSON-XS>0:converters/p5-Cpanel-JSON-XS \
                p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL \
                p5-Log-Any-Adapter-Callback>=0.09:devel/p5-Log-Any-Adapter-Callback \
                p5-Test-Deep>0:devel/p5-Test-Deep \
                p5-Test-Exception>0:devel/p5-Test-Exception \
                p5-Test-More-UTF8>0:devel/p5-Test-More-UTF8 \
                p5-Test-Pod>0:devel/p5-Test-Pod \
                p5-Test-SharedFork>0:devel/p5-Test-SharedFork


USES=           perl5
USE_PERL5=      configure
USE_PERL5_TEST= yes

.include <bsd.port.mk>
